<template>

  <el-tabs type="border-card" value="3">
    <el-tab-pane :lazy="true" label="半成品基本信息" name="1">
      <half-product/>
    </el-tab-pane>
    <el-tab-pane :lazy="true" label="打印前配置" name="2">
      <process-before-print/>
    </el-tab-pane>
    <el-tab-pane :lazy="true" label="产品文件配置" name="3">
      <print-file/>
    </el-tab-pane>
    <el-tab-pane :lazy="true" label="流程与材料配置" name="4">
      <flow-material/>
    </el-tab-pane>
    <el-tab-pane :lazy="true" label="产线配置" name="5">
      <azure-line-select
        :product-id="$route.query.ProductId"
        :resultItems.sync="formData.productLineItemList"
        style="margin-top: 10px;"
      />
    </el-tab-pane>
  </el-tabs>
  <!--  <flow-material/>-->

</template>

<script>
  import HalfProduct from '@/views/baseproduct/components/halfComponent/halfProduct'
  import ProcessBeforePrint from '@/views/baseproduct/components/halfComponent/processBeforePrint'
  import PrintFile from '@/views/baseproduct/components/halfComponent/printFile'
  import FlowMaterial from '@/views/baseproduct/components/halfComponent/flowMaterial'
  import AzureLineSelect from '@/components/ATheFridayClub/businessSelect/line/azureLineSelect'

  //  组件新增编辑
  export default {
    name: 'componentModify',
    components: { AzureLineSelect, FlowMaterial, PrintFile, ProcessBeforePrint, HalfProduct },
    data() {
      return {
        formData: {
          // productLineIdList: [],  //  选择的产品线
          productLineItemList: [],
          // defaultProductLine: '', //  默认的产品线
        }
      }
    },
  }
</script>

<style lang="scss" scoped>

</style>
